<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ShopYouhui extends Model
{
    protected $table = 'shop_youhui';

    public $timestamps = false;

    protected $primaryKey = 'yh_id';

    protected $fillable = [
        'yh_id', //id
        'type_id', //1折扣 2满减
        'shop_id', //商铺id
        'discount', //折扣
        'min_amount', //满减满多少
        'amount', //满减减多少
        'is_open', //0关闭 1开启
        'use_count', //可使用次数
        'create_time', //创建时间
        'create_ip', //IP地址
    ];
}
